<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>添加</title>
    <link rel="stylesheet" href="css/bootstrap.css">
</head>
<style>
    .box {
        width: 500px;
    }

    .form-group label {
        width: 100px;
        display: inline-block;
    }
</style>
<body>
<div class="center-block box">
    <form action="/addQualityIndex" method="post">
        <div class="form-group text-center">
            <h1>添加</h1>
        </div>
        <div class="form-group">
            <label for="districtId">监测区域 :</label>
            <select id="districtId" name="districtId" class="form-control">
                <option th:each="district:${districtList}" th:value="${district.id}"
                        th:text="${district.name}"></option>
            </select>

        </div>
        <div class="form-group">
            <label for="monitorTime">监测日期 :</label>
            <input type="text" class="form-control" name="monitorTime" id="monitorTime" placeholder="监测日期">
        </div>
        <div class="form-group">
            <label for="pm10">PM10值 :</label>
            <input type="text" class="form-control" name="pm10" id="pm10" placeholder="PM10值">
        </div>
        <div class="form-group">
            <label for="pm2_5">PM2.5值 :</label>
            <input type="text" class="form-control" name="pm2_5" id="pm2_5" placeholder="PM2.5值">
        </div>
        <div class="form-group">
            <label for="monitoringStation">监测站 :</label>
            <input type="text" class="form-control" name="monitoringStation" id="monitoringStation" placeholder="监测站">
        </div>
        <div class="form-group text-center">
            <button type="submit" class="btn btn-default">添加</button>
        </div>
    </form>

</div>
</body>
</html>